Fixed JavaScript error related to Endpoint creation

Fixed JavaScript error related to Endpoint creation. Endpoint settings field used to use the default collabserv URL. This has been fixed.