Misc messages bugfixes

**commit 1:** Let django templates handle messages
Javascript is hard... How can I make this render properly when passed as a
template variable? var myelem = "<h3>Hello, "Nick", what's up?</h3>";

**commit 2:** Specify scope for location bindings