Bug Fixes

Fixed typo on getItem(), improved example.html