It's imported hasClass and toggleClass methods within control script.