fixed crash in parser
added SWIG_V8_SCOPE macro (handlescope default ctor was removed in 3.21.13)