string.startsWith only exists in Firefox