It should always be at the topmost of the scope. More of a general JS 'best practice' rule than a preference.