Testing webworkers with modernizr