IE8 Compliance

getselection() ie8 bug fixed. but at what cost?!