fix load js config file bug