Support log to JavaScript Console