update jquery ver to the lastest stable version
update momentjs ver to the lastest stable version
update purl.js (jquery.url.js) ver to the lastest stable version
update requirejs ver to the lastest stable version
update requirejs' text ver to the lastest stable version
some code fixes