Fix IE11 DataView issue

data.constructor.name is "DataView" in FF and Chrome, but undefined in
IE.
Fix inconsistent behaviors of the slider between browsers.