Renamed debug convars
Properly escaped JavaScript string