got popups to work without jquery