Added html 5 canvas feature