Added standalone script (umd), fixed error in doc