Change directory structure for js files