Fix String endsWith prototype shadowing