Merge pull request #11 from fzzzy/master

Make sure to pop this off the java stack for non static natives in midp.js
some formating cleanup