Update javascript.