should check for not null instead of !var

javascript, a language designed to extend debugging time
change some cosole log to use debug package
fix compressor
benchmark: read and play event by file