Fix issue #307

Exception in the error message generation from JSMin processor when an
error is located at the end of the file