js beautifier, sama export canvas as image