[bug #913613] Fix to use .ajax instead of .post

.post was sending the data urlencoded. .ajax sends it correctly.