Reorganized js file structure put libs in vendor folder and my code in components. Also moved global variables from html file to Globals.js