fix js for form helpers