remove static call in js load