prevent bad actors from creating a parse error
only add semi-colon if js and no final semi-colon
ensure new code is covered and fixes issue
give badlib a descriptive name