Added RequireJS
Made a module out of TimeoutFactory