use indexOf for startsWith
fix for chrome28/mac
chat background