Made lib/redis.js work the way it's supposed to