Remove unknown Javascript type
Fix template execution

 * Prevent multiple `WriteHeader` calls
 * Fix missing status code returns
 * Clean up code
Add page to display a single graph