modify littleLayer.js