add core js files and create some basic piechart masking code for dashboard