Added PHP to JS files

Added leaflet required files
Combined the JS files to 2