   ###
   removeLocation: (slug) ->
     delete cache[slug]
-    @writeCache()
+    @write()
 
   ###
   Check if a location exists in the cache

  ###
  Writes curernt cache to local storage
  ###
  writeCache: -> localStorage.setItem config.key, JSON.stringify cache

  ###
  Build out location object properties for caching

  ###
  addLocation: (location) ->
    cache[location.slug] = location
    @write()

  ###
  Attempts to retrieve a location from the cache
