Higher Order Function Javascript Example Project Prioritization