cleanup umd for readability
update readme with amd note