moving htmlScripts after the SC scripts, adding the long lost line of 'if (SC.setupBodyClassNames) SC.setupBodyClassNames();' to the html file, solving loads of issues with browsers such as FireFox