change animate.js to rotate one image

Also add test.html for script testing