Async: Bug and lint fixes

- clearImmediate guaranteed to be set 
- New lines added for if-else style 
- Removed implicit string conversion
Why is this line changed?