remote logger for JavaScript