patches.js: add forgotten d3.js to git.
patches.js: renamings; removed broken assertions
patches.js: mouse events; fix current version in chart; cleanup
patches.js: history phases