Fixes #6 with fallback path for IE8