Organize js code a bit. Display both graphs at once