implement preloading
Merge branch 'master' of github.com:andreasgal/j2me.js