switched to more typical $(document).ready