Switched all data to ajax calls, improved graph