The boot process..

You can assume addEventListener is available (IE9+)