Unescaped the JS in preview.html