latency fix with jquery selector caching