Updated Index File and Finalized JS File

Finalized the JS File needed for the Industry Conditional exercise.