consolodate variables and drop IE code
drop more IE support