move js files into src folder