fixed helperFunctions.js so that it handles the HP selection when Enrollment Code is shown or not.