added IE compatibility mode