Update index.js

fix for #7 - don't crash on unknown .dot command