removed JQMsafeRefresh stuff