Update and rename v1.js to v2.js