stripping out the js
simplifying the header generation
simplifying the link generation
removing the double translations
wired an addViewLink method to simplify link generation
eliminating duplicate logic