Javascript Game Programming #1 - Create a player object