rotation.js DOC