fix for selection problem in IE and Firefox, no load problem in IE9