Reorganise
Minor change to replaceAppSrcScripts
Add closing bracket for PHP
Change development mode
Concatenate library files
Add source file for concatenation