code tidy with jshint
fix up log messages
add some useful git ignores
handle null info from geoip database