Revert "Tidying up JS code."

This reverts commit 3ca7ffe6e006905073dd3ecc966e68910e0cdba3.
Styling when JS is disabled

Adding new JS which adds advanced class to <html> when JS is enabled.
http://www.shaneprendergast.co.uk/css/styling-when-js-is-disabled/