Add some helpfull javascript to allow toogling div and embbeddind graph