Remove unused function.
Refresh graph doesn't refresh the whole page
Formatting.
Merge pull request #1546 from arkon94/master

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

Refresh graphs dynamically