Use [] instead of charAt
Clarify purpose
Use SVG Travis badge