Fix generated console log message error. Replace space with ','.