"Controller As" transformation, + toastr
Function declaration fixing, presentation stuff