Fix template specs under IE