Update vendor/assets/javascripts/jquery.nested-fields.js

Changed the String#trim() to jQuery#trim