Simplify Relvar; Do never cache data!
Fix jshint complaints. Add a Predicate abstraction.