include js from cdn and add chart to lib