fixed js problem with user search