version 0.7.8:  removed Joomla 3 deprecated JHtml::script() and JError
version 0.7.8:  more correction for Joomla 3