Update emoji.js

To avoid `TypeError: Cannot read property 'replace' of undefined`