brought up the sections of templates to be closer to the search box
moved where we write the window.sharelatex.x to the header as some
times it is possible for the scripts to evaulate before those props
have been read in
Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign