Make jQuery do the encoding