Data management and code optimization

getJSON points to ‘/quotes’
build_action() for arrays of fields
  - loops through and generates div, p, a
set_toggle_advance()
  - broke out into own method
populate_inputs()
  - cleaned up setting values
    — used switch statement to get value
  - obj = this.get_random()
Random Image

added button/label for Download Random Image
when ‘random-image’
  - window.location = “…/get-image”
fixed replace btn with spinner
built for production