Basic substitute function used to template home and result pages
Calls to innerText in Firefox fail, switch to innerHTML
Explicity set Accept request header to application/json
Correct font-family property list
Move js to external file and use innerText / textContent if available