labels property doesnt exist in FF so using alternate way to get label text