fixed js error with stage site