javascript check if string contains special characters