Hmm, I just pasted your xml into a new page and the create new opportunity popup seems to be working.
I do see another issue, though. The file for the static resource needs to be a javascript file, not text (.js, not .txt).
Also, which browser are you using?