habit js fixed the collapse