Helpful snippets for knockout.js