1. A method for executing a web-based application within a browser, comprising: loading a top-level page, said top-level page referencing a first library file; loading said first library file, wherein said first library file includes an application program interface component; loading a second library file, wherein said second library file references said application program interface component; and executing said application program interface component referenced by said second library file.