I found a solution.
Thanks a lot guys.
I fixed my problem. The problem was in my data array. It had an extra "," at the end, which IE thinks is an extra element of the array. It started to work as soon as I removed it.
var woHistory = [
"123456",
"374830",
"409287",
"546738",
"943829",
"298375",
"668949",
];