fixed constructor, tests, render.js
added description of clip() to README
separated examples and added description to README