add/kill layers functioning, data.js output kind of minified