Revert "Close php tags for ajax tests on swarm"

This reverts commit f6e86c3ca4d527d5453a0b5b9591ef38b5d3c000.
Remove trailing comma in define array. Close gh-1336.