Whitespace
Allowing for POST with optional parameter not populated.

- The AJAX request with data = new FormData posts invalid request data.
- Added check to set data to null if no parameters are present.
Merge pull request #1 from amaabca/optional-post-param

Allowing for POST with optional parameter not populated.