{if is_file('app/'.$GLOBALS['TS_URL']['app'].'/js/admin.js')} {/if}