html5 fixes

Still not fully functional, but app at least starts correctly (still no
scroll rect, text inputs, etc)