global.js general updates + added graph