Update index.js

fixing regex copy/paste cockup