Use POST data content not url params for workflow editor ajax requests

fixes #963
fix javascript error