j/symbolic: fix missing variable, minor cleanups