Fix PHP Server & Add JS client