Add node 0.11 to travis
Remove duplication in log.js