20131210 javascript fix for ie 8