Rename document to bookmarks. Fix jshint.