Removed "global" so that r.js optimizer picks it up

r.js optimizer doesn't see the `global.define()` call so I replaced it by `define()`.

This should not have any unwanted consequences as this is the syntax that KO itself already uses.

Fixes #28.