Fixing firefox js error.