Reformatted player.js to remove html code