fix js&image path failure