changing pledge.js source