Implemented the PHP logic entirely in Javascript, removing the dependency on the PHP script for the server list.