add nested_form js to layout