Fix #1347: Document ECMAScript versions with badges

`doc in Compile`?
Could you also extract that in a local val as the first line in the block? So that it's clear that this task extends the default one?