joomla: include jfactory class in external php file