Update for modular systems

Small change to support loading in AMD or CommonJS (same as knockout itself)