redid botched upgrade to em.js rc2