moving parser to webworker