* add functions for saving json to localstorage and tests * remove comment form localstorage after posting