Rename determinePriority to determinePriority.js