SERVER-16394 Fix JSThreadConfig leak
Merge remote-tracking branch 'upstream/master'