Removed redundant 'window.onload'