upgrade insert-module-globals for newline fix

This prevents parse errors by pulling in fixes from @jwalton to address sources that don't end in newlines, like those from `coffeeify`, which include module globals. Tests continue to pass.