Move graph related JS and CSS to seperate files