bug fix to videojsplayer's pause method