Fixed javascript for assignment and submission to make subparts work again on assignment/submission creation