Refactoring. Mouse handlers function.
Fixing merge conflicts
Merge branch 'jmclaus/feature_download_transcript_button_with_options' of github.com:edx/edx-platform into jmclaus/feature_download_transcript_button_with_options
Modified template again