libs.js seems to behave better on legacy Firefox