Refactor some js stuff into namespaces
set margins for contextmenu, fix for Arctic template
Fix useheading again so 'only navigation' is recognized correct.