Improve the JS_ReportErrorNumber and JSErrorCallback definitions.
Merge pull request #73 from Ms2ger/typeerror-2

Improve the JS_ReportErrorNumber and JSErrorCallback definitions.