Make X.parser.reslice2 a real static function rather than calling the X.parser.prototype.reslice2 which looses the this context.