making player.js module