Make root_url in various js scripts host agnostic

I've gone through and made root_url generic in the three locations where it occurs in alert_manager. This change will make requests to the alert_manager instance running in docker, or on a remote server instead of polling the remote instance at http://54.215.155.53:8080