fixes for jplayer