rename .register to .registerElement 

there is no function named .register
Merge pull request #2 from wbzyl/patch-1

rename .register to .registerElement