Use strict type checking, more code cleanup (missing semicolons).  Process will now exit upon completion.