Quote replacement on platform.js
First pass of preview.js