fix quotes in js code