Simple wrapper for Javascript console output