Update index.js

added semi-colon and a bit more helpful log