fix boolean handling with data-* attributes

fixes issue #84