Clear 'active' buttons on form reset

Add function to reset 'active' class of buttons to corresponding form when 'reset' button is clicked.

Thanks for sharing this code. It was really helpful for me. Just needed this minor adjustment and thought I would share it back to the source in case others could benefit.