Updated gamelayer.js
Updated gamelayer.js