* Adds some comments.
* Fixes possible NRE in $.js.ensureElement

Signed-off-by: John Sedlak <john.sedlak@outlook.com>