Remove some local changes to be in sync with upstream dash.js