Bug fixes and add support for '*'
Fix typo in runiql.js