Documentation correction

document.register -> document.registerElement
Merge pull request #111 from raggi/master

Minor documentation correction