code mod

changed the way the html being appended for the completed/pending notes