Github fix

This should fix the headers being sent twice problem. This
might not be the best way to do things in the future, as it
will just fail silently, but it's quick and following the
same structure as bugzilla.js.