fix js load bug