Reorganising the order of ceremonies in boot.js

With a view to making it all a bit more readable