Re-adding confirmation dialogues to deleting stuff (dunno when it broke). Also removing unnecessary js files.