Added destroy().
Minor bugfix.
Added support to AMD and CommonJS