Moved giant JIRA query code block to the inside of the HTTP server request/response function

Previously, the JIRA query only ran when the app started (from the
CLI), so refreshing the browser did not refresh the data.