JotForm: Uncaught TypeError: Object # has no method 'error'