TYPO3 Exception 1312140064

(This exception happens only on very old TYPO3 versions - please consider updating your system to a secure version.)

You should use the following hook

$GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = filepath
Copied!

and execute t3lib_extMgm::addModuleJsFile in the above file.