Protein Coverage - Javascript