IE 10 Compatibility

These changes make dashing-js work with IE10