Fixed a bug: JavaScript returns -1 from (+(-1)), so another solution had to be implemented.
Added error reporting to antlr.