Fixed ie8 parseInt issue.