java byte code to javascript