Cool logging functions for JavaScript