#134: Ensure php receives ajax POST data

Resolves #134.