emergency.js