fixes  #2315

added fix for IE9.

Please Check.