update umd version

so it will work inside a worker