Updated Index and Code.js
Except neither code.js or index.html are communicating with each other, the book doesn't tell you why that could be an issue though.
Signed-off-by: reevo17 <runt17@gmail.com>