Update index.js

Didn´t fancy the prior error-message.