Made the detect call more robust in node environment
Bump version to 0.6.2