jquery nested form in application.js