interface rename, fixed script eval race condition
changes to javascript bindings, now uses rulesets as "global" scope