added viewer plugin for joomla 3.1