Problem adding data-attribute to form.

Problem adding data-attribute to form.

Hello, 

I'm trying to add  data-validate="true" to my page form element.
I can't hardcode it in, so I have to inject it in after with jQuery.

Turn Below:

<form id="eself-contact-us-form">

Into This:

<form id="eself-contact-us-form" data-validate="true">

I created a fiddle to help show where I'm currently at.