Fix ParseDiv, Expose ParserBlock.prototype.reset

Corrected unbalanced parentheses in parseDiv,
implemented the correct boundary checking method.