added toggleplayer.js