Added a line of jQuery in regPopUp.js to check for which browser is opened