diff --git a/Yesod/Fay.hs b/Yesod/Fay.hs
--- a/Yesod/Fay.hs
+++ b/Yesod/Fay.hs
@@ -381,13 +381,14 @@
                     [| do
                         maybeRequireJQuery needJQuery
                         $(requireFayRuntime settings)
-                        let bs =
+                        -- Optimization, broken by update, but not required.
+                        {-let bs =
                               $(do let lt = toLazyText contents
                                        lenE = LitE $ IntegerL $ fromIntegral $ TL.length lt
                                        strE = LitE $ stringPrimL lt
                                        packer = VarE 'unsafePackAddressLen
-                                   return $ packer `AppE` lenE `AppE` strE)
-                        toWidget $ const $ Javascript $ fromText $ decodeUtf8 bs
+                                   return $ packer `AppE` lenE `AppE` strE)-}
+                        toWidget $ const $ Javascript $ s'
                     |]
                 Just (fp', exp') -> do
                     let name' = concat ["faygen-", hash, ".js"]
diff --git a/yesod-fay.cabal b/yesod-fay.cabal
--- a/yesod-fay.cabal
+++ b/yesod-fay.cabal
@@ -1,5 +1,5 @@
 name:                yesod-fay
-version:             0.7.0
+version:             0.7.1
 synopsis:            Utilities for using the Fay Haskell-to-JS compiler with Yesod.
 description:         For initial discussion, see <http://www.yesodweb.com/blog/2012/10/yesod-fay-js>. This is a work-in-progress.
 homepage:            https://github.com/fpco/yesod-fay
