Temporary fix for js error