comments and removing unnecessary references to prototype
after review - some more explanation in demo.html and more comments/todos in code