Updated JS to reflect latest repo changes.