Changed the script order. Please merge well!! :$

Changed the script order to speed up page loading and menu bar
functionality. Hoping that the GitHub merging tool works well when
merging with Tim's updates. Fingers crossed!