Add umd support.
Release 1.7.1.