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

Make it compatible with jQuery 1.9