added new charts to html index, refactored js files