Corrected JQuery's Interaction with index.html