added fallback for IE up to 9