removes some cruft from sweet-contracts.js