Try appending this piece of code to your `index.js` and let me know how it goes in Safari:
const r = /(<!foo)/