use quotes around all element attr vals in JS; fixes #12946
Merge pull request #12948 from twbs/js-quote-attr-vals

use quotes around all element attribute values in JS