Update jquery.scrollNav.js

check please, added an if condition inside of $container.length condition to check if $target is available or not, if is not available, log in console and returns false.