Update to Javascript