add node_modules to .gitignore
remove tail command(for compatibility with windows users)
Fix code style
Use native method for log