Update entities.js

Use String.fromCodePoint() ES6 shim in place of own version