Minor update to the javascript.