Update JS file.