Map-rotate is a project mainly written in ..., it's free.
Rotating a map with pure JavaScript and CSS3.