Updated some javascript.