Concentrating strings in code, updating HTML/JS