Switches JS quotes for apostrophes