[BUG #8396] removed code for unsupported browsers (IE6/7, FF < 4, Safari < 5)