Update index.js

Whoops, syntax