Removed document.write for the small screen nav
Roles out of document.write
Merge branch 'develop'