added: more globals and corrected some url problems, curently problem with conflict with joomla jquery