fix undefined function reference
Merge pull request #551 from mapbox/bookmarks

Bookmark loading issues