Update war.js