js refactoring
Merge branch 'responsive-nav' of github.com:guardian/frontend into responsive-nav