code examples for knockout and require