BugFix onchange doesnt work well in mac webkit browsers.