Improved webworkers detection