Clean up javascript in dcmdump.js and in dump/index.html