Renamed last_closer -> last_emphasis_closer.
Add check  for null in last_emphasis_closer.
Clarified code logic for last_emphasis_closer.
Reindented source with js2-mode.
jshint improvements.