Added the JavaScript file with the latest code.