put the js files in the right dir