JS escape function here creates more problems than it solves.