would be nice to add AMD support and usage example with require.js
would be nice to add AMD support and usage example with require.js