Trying to fix chrome vs firefox compatibility issue