Update clean_target.js

enclosure `i` in a local scope