Don't use $(document).ready to fix an issue