A small collection of helper functions for KnockoutJS