fix js escaping