added js for plotmaps