Fix load timing by using requirejs to sequence resource loading

Fixes #3 

This removes a lot of the i18n code, and doesn't use Chrome's i18n functions any more.

NB I also fixed a couple of other small annoyances.