Fixed javascript error when trying to prevent double click for PayPal form