completed answer form, javascript functionality improved with span tags for form class