try to connect the file layer.js