Commented player.js, detailing the attributes and methods.