work around youtube onPlayerStateChange event not being fired