Firefox 18+ supports String#startsWith, String#endsWith