Fixed issue #2 - Compatibility problem with IE 9