use addEventListener instead of overwriting window.onmessage, sorry IE8
add version to ddt.js