basic js application template