A simple logger for JavaScript