Update and rename v3.js to v4.js