No need to loop when we only index 1 file
Make summary work for rna2d.js.

The summary stopped at the first '.'. This doesn't work when things have a . in
the project name. Maybe not the best idea to have them, but there they are. This
should fix it to skip over such things and find the first sentance.