added IE shims, performance optimizations