scroll to anchor main if possible first
scroll to anchor main if possible first

before looking for an element with id main
this allows app that are already set up with #main to change where the
scroll to goes without having to change everything else (since other js
might be expecting #main to exist)

CruGlobal/qe,CruGlobal/qe,CruGlobal/fe,CruGlobal/fe,CruGlobal/qe,CruGlobal/fe