fix bug with removing plex token script
add timeout for pinging servers, use XMLHttpRequest instead of mozilla Request API