set up ajax in course edit page - file/video creation remain