A gemified version of Ben Alman's jQuery doTimeout plugin.