HTML 5  Canvas Elements Drawing and Animation using JavaScript