[JES] Failover stuff and lib update
[JES] Add option for user to specify preferred endpoint. Set options for auto failover when talking to the js lib. Update references to point to new JS lib. Added translations for my new field on the settings page, but someone should check those since I only speak English :(