SERVER-8647: don't fail when loading invalid stored JS