Create RefreshDocument.js

To refresh the canvas