Updated index to include link to sample JS