Update and rename v39.js to v40.js