clean up set.js