Setting up the basics of saving a comment in JS