Compat fix with other JS libs