Add 'api' to upload console log message to casperjs.