Changes to graph and beacon.js