Update index.js

add missing semicolon