add javascript to web app