trying out view templates with auto data population. some try/catch statments for cases that cakejax is not being used in JSON only manner