compressed
support UMD (Universal Module Definition) patterns

Made it support UMD (Universal Module Definition) patterns, so it can
work everywhere.
added "amp-is-function" dependency
updated README.md