ticket:6 minor JS fix
Merge branch 't6_ajax_form_and_widget'