Add script to extend compatibility to IE<9