add visit js fix