added uid js var