Update player.js

finished basic object