Combine all functions into UserView JS object.