Fix jshint errors; use URL to connect to redis instead of hostname/port
Fixing jshint violations