Get rid of css selector duplication.
Rename a few variables to make more sense.
Create variable for the timeout attribute.