Rails UJS & SJR example, using data-remote to build a message collection interactively. Source: http://signalvnoise.com/posts/3697-server-generated-javascript-responses