Fix some JS quoting and comma issues.