consume JSON api via client side JS
add query