move to es6-modules and umd for importing
v1.0.4