Adds ajax to add graph and remove graph