report.js: Set num_queries correctly and minor code cleanup
report.js: Set num_queries correctly and minor code cleanup

This fixes the numbering in the query header (small font, right hand
side).

Signed-off-by: Anurag Priyam <6e6ab5ea9cb59fe7c35d2a1fc74443577eb60635@gmail.com>

yeban/sequenceserver,yeban/sequenceserver,yeban/sequenceserver,yeban/sequenceserver