Learning application using animations in html5 and javascript