added node_modules to gitignore
added log functions that actually are console.log calls