fix(js): Replace ie unsupported use of dataset by getAttribute