Added manual convertion of double quotes for consistency with the equivalent PHP functions
fixed Unsaved Changes Alert to work properly by comparing the actual files
Added tooltip to Revert button
fixed stupid js typo
Changed Revert to not cause page reload, fixed missing ; in handleResponse function