fix js load