Fix most of bug cross browser - support IE5.
Refactor code, fix bind and unbind.