Made String#contains() fully ES6-compatible.
Better code reuse and minification (String section).