Removing references to removed form inputs
JS fix