Refresh graph doesn't refresh the whole page
Formatting.
Expanding/Collapsing criteria use JS instead of AJAX calls
Formatting
Formatting
Get rid of a irrelevant FIXME comment
Merge pull request #1546 from arkon94/master

Remove unused function
Merge pull request #1547 from arkon94/graphs

Refresh graphs dynamically
Merge pull request #1548 from arkon94/criteria

Optimize criteria expansion/collapsing. Fixes #916
Merge conflicts.