Thanks for sharing this... But isn't the AJAX Search API to be used from within the browser (client) rather than from a central server?
I think they're hinting at something by calling it "and other non-JS environments". My first reaction to that was "you mean like PHP?"