How to write inclusive JavaScript code?

How to write inclusive JavaScript code?