fixed toggle test page js error