Add addSpec Event and appendNewSpecToDOM function