Resolved an error with browsers other than Chrome