added getRotationDegrees for jQuery objects