Added some javascript code for adding and deleting images, creates imgur url and all that jazz