Fixed javascript identifier typo

The typo prevented comment previews from displaying at all.

Signed-off-by: Byron Sanchez <byron@hackbytes.com>