Missing semicolons

Semicolons added throughout index.js.