Update attack.js