Update emmet.js

Possible error at line 14288: ele.attachEvent should be doc.attachEvent