js reload fix