rename pledge.js -> index.js for Component