title: Why is core.js not loaded in Joomla 3?
body: <p>I am migrating my own Joomla component from Joomla 2.5 to Joomla 3. Some of the buttons use javascript <code>Joomla.submitform()</code>, which was defined in \media\system\js\core.js, but somehow this file is not loaded any more now...</p>
  
  <p>I could simply add <code>JFactory::getDocument()-&gt;addScript( JURI::root().'media/system/js/core.js' )</code> to my component's code, but that seems the quick and dirty way to me.</p>
  
  <p>Could someone tell me what the nice and clean way is? Help is very much appreciated!</p>