added in the js files
added filter to chart