Added position in startsWith and endsWith

The position in the string at which to begin searching for the
prefix/suffix,
compliant with JavaScript 1.8.6