Move scriptHandler to Parser ctor