Agreed. I tried to explore this issue a while back: http://branchandbound.net/blog/web/2012/11/unify-server-side...
Turns out that using script-tags is somewhat problematic, but as a comment points out, data-attributes could work.
Turns out that using script-tags is somewhat problematic, but as a comment points out, data-attributes could work.