Moved JS from exercise.html/video.html

This address issue #197