Refactored to use '===' and don't create function inside a loop
Removed node 0.6 from travis