redundant function removed
IE version regex corrected