moved the embed code building into the controller. the embed code now builds for the entire assessment. if an assessment is added via a url, the embed code will contain the url instead of an id