bibsearch_init.js: Removed some commented out code and add comments
where appropriate to explain the programming logic and flow.