Update hazard.js