Refractored rubric-creation.js