Completed image_rotator.js