cleanup js
add messy implementation of multiple countries