addProfileSelector also calls registerProfileScripts(), so this isn't needed.