queue next event in nowplaying javascript only after polled data is received