javascript updates