added javascript to show barchart/slider and heatmap only after that barchart data is loaded and heatmap is initialized, to avoid the annoying slow motion effect that happens first time you load a page after deployment