Create createLayer.js