JavaScript inet_ntoa and inet_aton, and Bourne Again Shell (i.e. bash) inet_ntoa