jQuery script that serialize fields together with html5 data attributes