Made adding notes javascript