add English document.

Add document.html and reduce japanese comment in script.
Fix Resize bugs.