Added javascript for adding new assignment parts.