basic js application file