Replaces joomla script for inline script