changing js_fn_wrapper to parserCallback