adding popup js