Final fix on index.js for initial portion of assignment.