(#1166) - web workers

fix in the ajax section and some basic tests for workers