modify gameLayer and littleLayer.js.