fix cornelius to work in IE

@jbarreneche