Recent versions of the Jmol applet no longer have a requirement to enclose Jmol controls with html <form></form>. tags.
This avoids problems with nesting or overlaps when the context, that the filter is being used in, also has form tags (e.g. Moodle Quiz).
Therefore all <form></form> tags can be removed from the filter code. Also, the &f=0 parameter (to turn form tags off in quizzes etc) will no longer be necessary.