Fix null error in lightbox plugin when element is deleted.

Partially fixes #5792 (For only the lightbox plugin)
There should be space inside the brackets (e.g., <code>if ( !elm ) {</code>). Not sure why JSCS in the build didn't flag it (usually does for me).

@nschonni Is this supposed to be flagged by JSCS still?