Preserve additional data attributes.

Updated to preserve any additional data bindings using attributes.
Allows use with other JS libraries that use data attributes for binding.

I didn't update the minified version.