Got rid of global JQuery variable in pulldown menu