JavaScript console that sends log to a remote server