solved jquery syntax errors by escaping css selectors in jquery ids