Move javascript files to /js folder. Organize external dependencies