Use $(document).ready() instead of $(window).load()