Merge pull request #16 from teppeis/umd

General UMD support
Use Object_keys shim instead of Object.keys for IE8