diff --git a/hsfiles/mongo.hsfiles b/hsfiles/mongo.hsfiles
--- a/hsfiles/mongo.hsfiles
+++ b/hsfiles/mongo.hsfiles
@@ -284,6 +284,7 @@
 import           Settings             as Import
 import           Settings.Development as Import
 import           Settings.StaticFiles as Import
+import           Data.Aeson           as Import (toJSON)
 
 #if __GLASGOW_HASKELL__ >= 704
 import           Data.Monoid          as Import
@@ -360,12 +361,12 @@
 
     build-depends: base                          >= 4          && < 5
                  -- , yesod-platform                >= 1.1        && < 1.2
-                 , yesod                         >= 1.1        && < 1.2
-                 , yesod-core                    >= 1.1.2      && < 1.2
+                 , yesod                         >= 1.1.4      && < 1.2
+                 , yesod-core                    >= 1.1.5      && < 1.2
                  , yesod-auth                    >= 1.1        && < 1.2
                  , yesod-static                  >= 1.1        && < 1.2
                  , yesod-default                 >= 1.1        && < 1.2
-                 , yesod-form                    >= 1.1        && < 1.2
+                 , yesod-form                    >= 1.1        && < 1.3
                  , clientsession                 >= 0.8        && < 0.9
                  , bytestring                    >= 0.9        && < 0.11
                  , text                          >= 0.11       && < 0.12
@@ -374,7 +375,7 @@
                  , template-haskell
                  , hamlet                        >= 1.1        && < 1.2
                  , shakespeare-css               >= 1.0        && < 1.1
-                 , shakespeare-js                >= 1.0        && < 1.1
+                 , shakespeare-js                >= 1.0.2      && < 1.2
                  , shakespeare-text              >= 1.0        && < 1.1
                  , hjsmin                        >= 0.1        && < 0.2
                  , monad-control                 >= 0.3        && < 0.4
@@ -384,6 +385,7 @@
                  , directory                     >= 1.1        && < 1.3
                  , warp                          >= 1.3        && < 1.4
                  , data-default
+                 , aeson
 
 executable         PROJECTNAME
     if flag(library-only)
@@ -4830,7 +4832,7 @@
     You can run your tests by doing: <pre>yesod test</pre>
 
 {-# START_FILE templates/homepage.julius #-}
-document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget.";
+document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget.";
 
 {-# START_FILE templates/homepage.lucius #-}
 h1 {
diff --git a/hsfiles/mysql.hsfiles b/hsfiles/mysql.hsfiles
--- a/hsfiles/mysql.hsfiles
+++ b/hsfiles/mysql.hsfiles
@@ -286,6 +286,7 @@
 import           Settings             as Import
 import           Settings.Development as Import
 import           Settings.StaticFiles as Import
+import           Data.Aeson           as Import (toJSON)
 
 #if __GLASGOW_HASKELL__ >= 704
 import           Data.Monoid          as Import
@@ -361,12 +362,12 @@
 
     build-depends: base                          >= 4          && < 5
                  -- , yesod-platform                >= 1.1        && < 1.2
-                 , yesod                         >= 1.1        && < 1.2
-                 , yesod-core                    >= 1.1.2      && < 1.2
+                 , yesod                         >= 1.1.4      && < 1.2
+                 , yesod-core                    >= 1.1.5      && < 1.2
                  , yesod-auth                    >= 1.1        && < 1.2
                  , yesod-static                  >= 1.1        && < 1.2
                  , yesod-default                 >= 1.1        && < 1.2
-                 , yesod-form                    >= 1.1        && < 1.2
+                 , yesod-form                    >= 1.1        && < 1.3
                  , clientsession                 >= 0.8        && < 0.9
                  , bytestring                    >= 0.9        && < 0.11
                  , text                          >= 0.11       && < 0.12
@@ -375,7 +376,7 @@
                  , template-haskell
                  , hamlet                        >= 1.1        && < 1.2
                  , shakespeare-css               >= 1.0        && < 1.1
-                 , shakespeare-js                >= 1.0        && < 1.1
+                 , shakespeare-js                >= 1.0.2      && < 1.2
                  , shakespeare-text              >= 1.0        && < 1.1
                  , hjsmin                        >= 0.1        && < 0.2
                  , monad-control                 >= 0.3        && < 0.4
@@ -385,6 +386,7 @@
                  , directory                     >= 1.1        && < 1.3
                  , warp                          >= 1.3        && < 1.4
                  , data-default
+                 , aeson
 
 executable         PROJECTNAME
     if flag(library-only)
@@ -4857,7 +4859,7 @@
     You can run your tests by doing: <pre>yesod test</pre>
 
 {-# START_FILE templates/homepage.julius #-}
-document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget.";
+document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget.";
 
 {-# START_FILE templates/homepage.lucius #-}
 h1 {
diff --git a/hsfiles/postgres.hsfiles b/hsfiles/postgres.hsfiles
--- a/hsfiles/postgres.hsfiles
+++ b/hsfiles/postgres.hsfiles
@@ -286,6 +286,7 @@
 import           Settings             as Import
 import           Settings.Development as Import
 import           Settings.StaticFiles as Import
+import           Data.Aeson           as Import (toJSON)
 
 #if __GLASGOW_HASKELL__ >= 704
 import           Data.Monoid          as Import
@@ -361,12 +362,12 @@
 
     build-depends: base                          >= 4          && < 5
                  -- , yesod-platform                >= 1.1        && < 1.2
-                 , yesod                         >= 1.1        && < 1.2
-                 , yesod-core                    >= 1.1.2      && < 1.2
+                 , yesod                         >= 1.1.4      && < 1.2
+                 , yesod-core                    >= 1.1.5      && < 1.2
                  , yesod-auth                    >= 1.1        && < 1.2
                  , yesod-static                  >= 1.1        && < 1.2
                  , yesod-default                 >= 1.1        && < 1.2
-                 , yesod-form                    >= 1.1        && < 1.2
+                 , yesod-form                    >= 1.1        && < 1.3
                  , clientsession                 >= 0.8        && < 0.9
                  , bytestring                    >= 0.9        && < 0.11
                  , text                          >= 0.11       && < 0.12
@@ -375,7 +376,7 @@
                  , template-haskell
                  , hamlet                        >= 1.1        && < 1.2
                  , shakespeare-css               >= 1.0        && < 1.1
-                 , shakespeare-js                >= 1.0        && < 1.1
+                 , shakespeare-js                >= 1.0.2      && < 1.2
                  , shakespeare-text              >= 1.0        && < 1.1
                  , hjsmin                        >= 0.1        && < 0.2
                  , monad-control                 >= 0.3        && < 0.4
@@ -385,6 +386,7 @@
                  , directory                     >= 1.1        && < 1.3
                  , warp                          >= 1.3        && < 1.4
                  , data-default
+                 , aeson
 
 executable         PROJECTNAME
     if flag(library-only)
@@ -4831,7 +4833,7 @@
     You can run your tests by doing: <pre>yesod test</pre>
 
 {-# START_FILE templates/homepage.julius #-}
-document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget.";
+document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget.";
 
 {-# START_FILE templates/homepage.lucius #-}
 h1 {
diff --git a/hsfiles/simple.hsfiles b/hsfiles/simple.hsfiles
--- a/hsfiles/simple.hsfiles
+++ b/hsfiles/simple.hsfiles
@@ -235,6 +235,7 @@
 import           Settings             as Import
 import           Settings.Development as Import
 import           Settings.StaticFiles as Import
+import           Data.Aeson           as Import (toJSON)
 
 #if __GLASGOW_HASKELL__ >= 704
 import           Data.Monoid          as Import
@@ -293,18 +294,18 @@
 
     build-depends: base                          >= 4          && < 5
                  -- , yesod-platform                >= 1.1        && < 1.2
-                 , yesod                         >= 1.1        && < 1.2
-                 , yesod-core                    >= 1.1.2      && < 1.2
+                 , yesod                         >= 1.1.4      && < 1.2
+                 , yesod-core                    >= 1.1.5      && < 1.2
                  , yesod-static                  >= 1.1        && < 1.2
                  , yesod-default                 >= 1.1        && < 1.2
-                 , yesod-form                    >= 1.1        && < 1.2
+                 , yesod-form                    >= 1.1        && < 1.3
                  , clientsession                 >= 0.8        && < 0.9
                  , bytestring                    >= 0.9        && < 0.11
                  , text                          >= 0.11       && < 0.12
                  , template-haskell
                  , hamlet                        >= 1.1        && < 1.2
                  , shakespeare-css               >= 1.0        && < 1.1
-                 , shakespeare-js                >= 1.0        && < 1.1
+                 , shakespeare-js                >= 1.0.2      && < 1.2
                  , shakespeare-text              >= 1.0        && < 1.1
                  , hjsmin                        >= 0.1        && < 0.2
                  , monad-control                 >= 0.3        && < 0.4
@@ -314,6 +315,7 @@
                  , directory                     >= 1.1        && < 1.3
                  , warp                          >= 1.3        && < 1.4
                  , data-default
+                 , aeson
 
 executable         PROJECTNAME
     if flag(library-only)
@@ -4714,7 +4716,7 @@
     You can run your tests by doing: <pre>yesod test</pre>
 
 {-# START_FILE templates/homepage.julius #-}
-document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget.";
+document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget.";
 
 {-# START_FILE templates/homepage.lucius #-}
 h1 {
diff --git a/hsfiles/sqlite.hsfiles b/hsfiles/sqlite.hsfiles
--- a/hsfiles/sqlite.hsfiles
+++ b/hsfiles/sqlite.hsfiles
@@ -286,6 +286,7 @@
 import           Settings             as Import
 import           Settings.Development as Import
 import           Settings.StaticFiles as Import
+import           Data.Aeson           as Import (toJSON)
 
 #if __GLASGOW_HASKELL__ >= 704
 import           Data.Monoid          as Import
@@ -361,12 +362,12 @@
 
     build-depends: base                          >= 4          && < 5
                  -- , yesod-platform                >= 1.1        && < 1.2
-                 , yesod                         >= 1.1        && < 1.2
-                 , yesod-core                    >= 1.1.2      && < 1.2
+                 , yesod                         >= 1.1.4      && < 1.2
+                 , yesod-core                    >= 1.1.5      && < 1.2
                  , yesod-auth                    >= 1.1        && < 1.2
                  , yesod-static                  >= 1.1        && < 1.2
                  , yesod-default                 >= 1.1        && < 1.2
-                 , yesod-form                    >= 1.1        && < 1.2
+                 , yesod-form                    >= 1.1        && < 1.3
                  , clientsession                 >= 0.8        && < 0.9
                  , bytestring                    >= 0.9        && < 0.11
                  , text                          >= 0.11       && < 0.12
@@ -375,7 +376,7 @@
                  , template-haskell
                  , hamlet                        >= 1.1        && < 1.2
                  , shakespeare-css               >= 1.0        && < 1.1
-                 , shakespeare-js                >= 1.0        && < 1.1
+                 , shakespeare-js                >= 1.0.2      && < 1.2
                  , shakespeare-text              >= 1.0        && < 1.1
                  , hjsmin                        >= 0.1        && < 0.2
                  , monad-control                 >= 0.3        && < 0.4
@@ -385,6 +386,7 @@
                  , directory                     >= 1.1        && < 1.3
                  , warp                          >= 1.3        && < 1.4
                  , data-default
+                 , aeson
 
 executable         PROJECTNAME
     if flag(library-only)
@@ -4827,7 +4829,7 @@
     You can run your tests by doing: <pre>yesod test</pre>
 
 {-# START_FILE templates/homepage.julius #-}
-document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget.";
+document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget.";
 
 {-# START_FILE templates/homepage.lucius #-}
 h1 {
diff --git a/yesod.cabal b/yesod.cabal
--- a/yesod.cabal
+++ b/yesod.cabal
@@ -1,5 +1,5 @@
 name:            yesod
-version:         1.1.3.1
+version:         1.1.4
 license:         MIT
 license-file:    LICENSE
 author:          Michael Snoyman <michael@snoyman.com>
@@ -27,18 +27,18 @@
 
 library
     build-depends:   base                      >= 4.3      && < 5
-                   , yesod-core                >= 1.1      && < 1.2
+                   , yesod-core                >= 1.1.5    && < 1.2
                    , yesod-auth                >= 1.1      && < 1.2
                    , yesod-json                >= 1.1      && < 1.2
                    , yesod-persistent          >= 1.1      && < 1.2
-                   , yesod-form                >= 1.1      && < 1.2
+                   , yesod-form                >= 1.1      && < 1.3
                    , yesod-default             >= 1.1.1    && < 1.2
                    , monad-control             >= 0.3      && < 0.4
                    , transformers              >= 0.2.2    && < 0.4
                    , wai                       >= 1.3      && < 1.4
                    , wai-extra                 >= 1.3      && < 1.4
                    , hamlet                    >= 1.1      && < 1.2
-                   , shakespeare-js            >= 1.0      && < 1.1
+                   , shakespeare-js            >= 1.0.2    && < 1.2
                    , shakespeare-css           >= 1.0      && < 1.1
                    , warp                      >= 1.3      && < 1.4
                    , blaze-html                >= 0.5      && < 0.6
@@ -76,7 +76,7 @@
                      , text               >= 0.11
                      , shakespeare-text   >= 1.0          && < 1.1
                      , shakespeare        >= 1.0.2        && < 1.1
-                     , shakespeare-js     >= 1.0.1        && < 1.1
+                     , shakespeare-js     >= 1.0.2        && < 1.2
                      , shakespeare-css    >= 1.0.2        && < 1.1
                      , bytestring         >= 0.9.1.4
                      , time               >= 1.1.4
