Fix wrong level displayed via Javascript

Made sure the status panel is giving the right status with checkbox questions. Also fixed a small issue with the sections opening up when the mandatory questions weren't being highlighted.