Fix for bug #69. [IE] Error thrown in console after enabling SCAYT and trying to add new image