Fix for #1331

Fix non label error elements containing $ character in the name/id
(asp.net web forms) causing syntax error in sizzlejs.