Mixin for objects for better setTimeout and setInterval