Moving code eval into web worker