Fixed powerTip() annotation to show opts as optional.
Moved var declaration to the top of apiCloseTip().

Related to pull request #101.
Merged if statement to form else-if in apiCloseTip().