wordpress plugin: save using ajax