Fix runtime error with empty expressions "()".
Add missing genjson import in JS.