Relocate JS files and require everything