Refactor form view and copy content javascript to be more descriptive and efficient.