Added prototype stub for add-autoresponder and additional functionality for the JavaScript engine