Replace the jQuery toast plugin with the latest plugin js