minor tweaks so we don't use java

One day the rhino support will die entirely (I hope) but until then we can use jsdoc.js :)