Provide better javascript string escaping.