Some fixes to iql.js and some initial work on adding regexps to iql