this is a log system for javascript