xhr-polling for appfog