Levels with JavaScript instead of Blocks

This is a merge of @cpirich's changes to deal with conflicting changes
in the templates that I made, plus a small localization fix.

Closes #147