jsvm: handle exceptions that throwed from js code
jsvm: allow to change values inside *FOR js code

Just return new value and it will be updated, if you don't want to
update it, just return previous value.
Exampled added into test-js.sh.
utils: test-js: check keys after updating