Retriving view edits from stash, adding goal html output to view js