Update web/compatibility.js

1) Remove obsolete workarounds
2) Add support comments
Merge pull request #4803 from mzgol/compatibility

[WIP] Update web/compatibility.js