adding fallback for ie8 polyfills and fixes