Strip emoji from a string in Node.js and browsers.