fix cannot load js files