Front end javascript was not compatible with IE8 (#1155)