Added better browser compatibilitiy checking.