Update amodal.js