implements fallback for ie8/ie9 until I figure out a better solution