Fix for JS problems on RC currently

Change to JS includes lines stopped JS files from being collated. This has been fixed and a mechanism introduced so that if a future changes breaks the collating then the Jenkins build will fail.

Also includes the version number in the URL for portal_all.js on the landing page.