move spamphase to edits.js