jquery refactoring.
got rid of popup.src.js