2 charts working + moved js to events.js