update million (javascript)