2 js files added for both graphs