fixed areas js error