javascript: added isNull
javascript: added reg031 to test_js