use === for checking true/false
add test with nodeunit