modified index.html and rotator.js