Worked through max distance bug with category filtering, added global mappingObj object, merged getFormValues function into processForm function