fix js error in old IE's