put initialize in $(document)