rename file to layer.js