fix a bug of draw.js in IE & add same change to splay.html