Added compatibility with IE 8 and 9 to version 1