Convert canvas into div valve.html