Handle Firefox, IE and local compatibility