Add a class to an element after a specific time