it's because this is called as an ```"import"```` translator, which was the way we did this originally. The proper and simpler way to do this is simply calling it as a ```"web"``` translator such as e.g. here:
https://github.com/zotero/translators/blob/master/ERIC.js#L74