rename parseLayer.js to excludeLayer.js
update sample to latest api changes