360 degrees object rotation js script.