Add console.log messages to amcs.js.