update 'main.js' (see msg)

- move data inside the IIFE.
- change "var books" to "var jsBooks."
- change "amazonPage" data name to "amazonLink."
- add comments.