Removing js files from global template