Add CommonJS support to play nice with browserify and npm