Add comments & minor code cleanup of index.js.
Add comments & minor code cleanup of index.js.

ashtuchkin/iconv-lite,shaytan1986/iconv-lite,leetreveil/iconv-lite,sujianping/iconv-lite,behind2/iconv-lite