Update index.js

fix bug with nick validation