Update which.js

The which command is like the 'where' command under windows. To find an executable windows uses the environment variable 'PATHEXT' to check against the allowed extensions.