Update kc-rotate.js

Some considerations for IE