A step-by-step guide to building a cujo.js based app