Add AMD module support for browser version

Hello!  I'm using this library on the client-side only with RequireJS.  I've added support to be able to load it as an anonymous AMD module.