Copied complete rotate.js Project into this repo because other methods don't seem to work :(