support toaster to avoid js popup