Added dataType on ajax call to postURL

It wasn't parsing the html correctly without it, so I changed the `$.get` call to an `$.ajax` with the explicit dataType to `html`. It solved the problem.

I've tested both jQuery 1.10.2 and 1.11.