Added back the custom javascrcipt for cloning, and the changes to the views supporting this change retaining the essential lines in the js from the original. Tested to make sure the values of all of the repeated fields gets submitted and autocomplete works on repeated fields
Put back the layout with tabs and added checks to ensure the data is available before processing in controller