Avoding calling out browser names and added check against variable