after using anonymous functions, and then using window.onload, the functions in window.onload are no longer executed. Why?
(function() {
var hm = document.createElement("script");
console.log(" == ", document.body.clientWidth);
})();
window.onload = function() {
console.log(" == ", document.body.clientWidth);
}