minor changes to parse function and some comments

Currently there is a bug to do with a function not returning something
correctly, found in DOMdiff.js, under the findDiff function. Pomax is
currently working on a fix.