edit contract.js