Changed alerts so that error messages from Parse show up in the document instead of in an alert