Send response as JavaScript in example controller

Getting this with Chrome on sign in:

> Refused to execute script from '(my URL)' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Sending the result as JS fixes it.