Fix to js submission failure of sagepay redirect form
JS code updated to match PayPal changes from Marcus