added rotator.js