Documentation correction

document.register -> document.registerElement