Fixed a typo..
Avoided passing java Files into Javascript
Further attempts to get nicer error messages.
Updated the version after minor fixes