If you're trying to add fields or wait for changes in, for example, a select field and then apply your own JS, you'll soon run into issues. This is because Ninja Forms loads the forms asynchronosly. Therefore, something like the following is required
jQuery(document).on('nfFormReady', function(){
// Do your thing here
});