Fixed a strict JS equality
Fixed bindOnReady.
On IE: window === window.top returns always false, so we can use instead window.self === window.top
On other browsers: In some cases, document.readyState stays as "interactive" and never becomes "complete"