OZP-509 - made changes so that serverConfig is a proper requirejs module