Better javascript file structure.