Refactor Jotform.m class.