SERVER-9597: In JavaScript, only allow Mongo() to be called as a constructor