Update nmap.js

Added some checks if there is no eth interface