 
             meta.text(value or "")
         else if key.indexOf("og:") == 0
-            meta = $("meta[property='#{key}']")
+            meta = $("head meta[property='#{key}']")
 
             if meta.length == 0
                 meta = $("<meta property='#{key}'/>")

        return if not key

        if key == "title"
            meta = $("title")

            if meta.length == 0
                meta = $("<title></title>")

        )

    removeMobileViewport: () ->
        $("head meta[name=\"viewport\"]").remove()

    setfn: (fn) ->
        @._listener() if @.listener
