Adding loop and loopInterval options

Adding loop and loopInteval options

Returning index.html to original version