Added dynamic type loading without RequireJS.