Fix multiple loads of a js file
Trends work for Projects.

- Doesn't work for tasks yet
- Not sure a good positiong for the graph yet.