add code comments to render.js
add code comments to buildIndexes.js
build (is this correct?)