Js formatting and added ability to disable/enable autocomplete based on radio buttons.