Fixed Bug: Added missing brackets in encapsulating functions.
Fixed Bug: removed unnecessary port information in one of the urls in Survey.html.