JavaScript+*type+*update