Refactored Double API Call to getProfile on Load

Found two calls to CZ.Service.getProfile() API in cz.js's page load
functionality. Refactored into one, which helps help make logic much
more understandable, and improves load time somewhat.