Adds basic js infrastructure