Upgrade node version and add a EOF to prepublish2.sh