Merged JS file structure down to one file