An application framework in JavaScript