ES6: added String HTML methods

These annex B methods, dating back to Netscape Navigator, were
non-standard prior to ES6.