fixed chrome bug loadeddata event