Fixed WebKit delay detection. Performance improvements