use mustache templates instead of hardcoded html in js