more UI changes and JSON parsing at client side for autocomplete