Fix for class being gobbled up in form_for_ajax