Don't use $context['html_headers'] to add JS (per #339)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>