Added job module. Use correct CommonJS pattern to not create global functions.