fixes for minified version

I fixed the obvious stuff, i.e. use index.html instead of debug.html. 
Also I did add the absolute path to codrova.js which might be necessary (not 100% sure, but won't hurt).

I found an issue in system-ext which I also fixed.
Now the app launches fine on the legacy webOS emulator. But on the webos-ports emulator I still only get a white blank screen. The "journalctl"-log does not give any hints. So without output from the js-app via console.log or from the js-interpreter about errors, I'm a bit lost right now.