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.
Fixed a bug and prettified some code

- Default min and max values were not being set after @ZachGambino-GG
PR about preserving data bindings
- Prettified/simplified some code
- Generated minified version
Merge branch 'pr/18'