fix for form not being empty under live environment;
put "Go Back" link inside the correct conditions;
script.js - remove accidental debugging text "foo"