bring state country filtering js to work