If page inactive then do not send AJAX calls (save Datastore Read Operations quota)