Is it OK to mix window.onload and $(function(){}); of jQuery in the same script? 

```
    <script type="text/javascript">
        this.onload = function () {
            // do something
        }

        $(function () {
            //do something
        });
    </script>

```