Made index.js to accept location.search as its default PDB code