Buf fixing JS, added graph saved to the response of the save function in annotation.py view