     id = Handlebars.Utils.escapeExpression(id)
     file = ""  if Utils.isUndefined(file)
     result = '<script src="https://gist.github.com/' + id + '.js"></script>'
-    new Handlebars.SafeString(result)
+    Utils.safeString(result)
 
 
   ###

  Handlebars.registerHelper 'jsfiddle', (id, tabs) ->
    tabs   = "result,js,html,css"  if Utils.isUndefined(tabs)
    result = '<iframe width="100%" height="300" src="http://jsfiddle.net/' + id + '/embedded/' + tabs + '/presentation/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>'
    new Handlebars.SafeString(result)


  ### 
  Gist: Downloads and embeds public GitHub Gists by

    file = Utils.readSync(file)
    language = ""  if Utils.isUndefined(language)
    result = '``` ' + language + '\n' + file + '\n```'
    Utils.safeString(result)


  ###
  Format Phone Number
  from: http://blog.teamtreehouse.com/handlebars-js-part-2-partials-and-helpers
  Helper function to output a formatted phone number
  Usage: {{formatPhoneNumber phoneNumber}}
  ###
  Handlebars.registerHelper "formatPhoneNumber", (phoneNumber) ->
    phoneNumber = phoneNumber.toString()
    "(" + phoneNumber.substr(0, 3) + ") " + phoneNumber.substr(3, 3) + "-" + phoneNumber.substr(6, 4)



  @
