Refactor _setTargetNode; includes tests for: empty, node, jQuery set.

The empty line whitespace was removed automatically

This also makes the value of the `target` attribute a `jQuery` set

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>