Bugs hunting

Resolved:
- logic bug in `if` statement
- resolved a bug in the `for` statement of `passUrlWhiteList`
- moved the check on the `options.urlWhiteList` existance inside `passUrlWhiteList` function