front page; alter the scope of the js file loading

git-svn-id: https://gbif-portal.googlecode.com/svn/portal-drupal7/trunk@2909 3650c4fd-ea0f-e2d6-5ead-89630c913e81