Added supprot for v8. Added aiml JS object for the JS code.