Added clearRect for mydraw html5 library