These are unforced error. The 'God' portion will alienate more people then would be offended from leaving the one reference in, and provide some fodder for the Republicans. Leaving out Jerusalem furthers the narrative that the Democrats, specially Obama, are not friends with Israel.
"The Democratic Party platform doesn’t state that Jerusalem is the capital of Israel, a change from prior years that could provide fuel to critics who say President Barack Obama’s commitment to Israel is weak.
“President Obama and the Democratic Party maintain an unshakable commitment to Israel’s security,” begins the 70-page platform in a section titled “The Middle East.” The three-paragraph section details the Obama administration’s support for Israel—including boosting security assistance—but says nothing about Jerusalem."
Video embedded below.