Move all js into separate files and folders