Add support for legacy browsers