Added $(document).ready