Remove directives because IE chokes on them