move php and js files to main directory