Fix for IE 9+ 

Fixes #23