Your selector is pointing at a DIV inside the page, rather than the page itself. It’s the same idea as scoping variables in Studio. The JS function isn’t defined (scoped) at the DIV level.
As @postwick pointed out, do check where you are injecting the javascript. Your DOM needs to be on the entire page. When you use the developer console, you have access to entire DOM, when using a selector on an element, you do not have access to the entire DOM. Once you fix that, use the syntax @Nithinkrishna provided.
If it still fails as you write above, then your verJuris(1) is not a function which you can call both in your chrome console (it shows “undefined”). When the console says undefined, it means there is no callable/accessible function called verJuris(1). Is verJuris a function within your html page with 1 as argument?