Create the JS file.