Add polyfills for IE 7 and 8