Fix browser incompatibility issue

I feel silly

Signed-off-by: Eli Skeggs <skeggse@gmail.com>