More flexibel PHP constants, making symlinks possible in test environments
tidy up Javascript
more tidying up Javascript
caching jQ objects for performance and better code readability