Tweaks to display javascript and cookies warning:
* will only display cookies warning if javascript is enabled.
* remove redundant code
* tweak noscript html to display better div