anchor.diff:    Stripe.setPublishableKey('<%= ENV['PUBLISHABLE_KEY'] %>');
   
     $(function() {
  -    var $form = $('#payment-form');
  +    var $form = $('#bank-form');
       $form.submit(function(event) {
         // Clear any errors
         $form.find('.has-error').removeClass('has-error');
  
positive.code:   });
  
    function stripeResponseHandler(status, response) {
      var $form = $('#payment-form');
  
      if (response.error) {
        // Show the errors on the form
  
negative.code:       $form.find('button').prop('disabled', false).text('Add bank account'); // Re-enable submission
      } 
      else { // Token was created!
        alert("debug2");
        $form.find('.submit').html("<i class='fa fa-check'></i> Account added");
        
        // Get the token ID:
  