Check browser supports ECMAScript API.