Updates to js directory and util files.