simplified html-structure of comments li and extracted css
fixed: forgot mysqli->close()
javascript code cleanup -> refactored update function for comment position