Update player.js

Fixed error on line 16 with one too many brackets.