ie6,7,8 compatibility, js final fixes