ECMA Script fixes for IE