chapter menu update based on time, split videoJS extensions into own file