remove a class after 100 milliseconds jquery

JavaScript
$('.box').addClass("bg1").delay(100).removeClass("bg1");
Source

Also in JavaScript: