Move all javascript to one file