make node profile code and styling more internally consistent