add basic js structure