Fixes because activity_graph.js is not a template
Preliminaries for fixing static stuff