Update and rename manualextend.js to extend.js