Durandal.js snippets