     if target of locale
       result = locale[target]
     else continue
-    return result if localeName == language
-    generalResult = result if localeName == generalName
-    fallbackResult = result if localeName == fallback
-    fallforwardResult = result if localeName.indexOf(language) == 0 and not fallforwardResult?
+    return result if localeName is language
+    generalResult = result if localeName is generalName
+    fallbackResult = result if localeName is fallback
+    fallforwardResult = result if localeName.indexOf(language) is 0 and not fallforwardResult?
 
   return generalResult if generalResult?
   return fallforwardResult if fallforwardResult?

module.exports.clone = (obj) ->
  return obj if obj is null or typeof (obj) isnt "object"
  temp = obj.constructor()
  for key of obj
    temp[key] = module.exports.clone(obj[key])

  if _.isString(func_thing)
    func = object[func_thing]
    if not func
      console.error "Could not find method #{func_thing} in object #{@}"
      return => null # always return a func, or Mediator will go boom
    func_thing = func
  return func_thing
