app.htm: warming up, fixes loading of app_front.js

* return early if there is no `l10n`
* fix empty error filename in case of embedded `app_front.js`
* make loading and embedding of `app_front.js` "simple as possible, but not simpler"