refactor media comment show action in coffeescript
refactor media comment show action in coffeescript

refs CNVS-19909

While investigating this ticket I refactored this coffeescript
for readability.

Change-Id: Ifea5ec3cd230229c7b2fab3fc587d416dfae89bc
Reviewed-on: https://gerrit.instructure.com/53393
Tested-by: Jenkins
Reviewed-by: Josh Simpson <bfb4987b134a00f73d881fff5113b1d5fa1876bc@instructure.com>
Product-Review: Strand McCutchen <3926e7f2370f1e7814576250688185c598b36b91@instructure.com>
QA-Review: Strand McCutchen <3926e7f2370f1e7814576250688185c598b36b91@instructure.com>

whalejasmine/canvas-lms,shidao-fm/canvas-lms,shidao-fm/canvas-lms,antoniuslin/canvas-lms,kyroskoh/canvas-lms,leftplusrightllc/canvas-lms,sdeleon28/canvas-lms,ShreniiNepal/shrenii_lmp,grahamb/canvas-lms,skmezanul/canvas-lms,Jyaasa/canvas-lms,matematikk-mooc/canvas-lms,HotChalk/canvas-lms,dgynn/canvas-lms,Jyaasa/canvas-lms,Jyaasa/canvas-lms,dgynn/canvas-lms,greyhwndz/canvas-lms,matematikk-mooc/canvas-lms,va7map/canvas-lms,leftplusrightllc/canvas-lms,juoni/canvas-lms,fronteerio/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sdeleon28/canvas-lms,juoni/canvas-lms,grahamb/canvas-lms,greyhwndz/canvas-lms,eCNAP/CANVAS,sfu/canvas-lms,greyhwndz/canvas-lms,sfu/canvas-lms,wrdsb/canvas-lms,dgynn/canvas-lms,AndranikMarkosyan/lms,whalejasmine/canvas-lms,matematikk-mooc/canvas-lms,AndranikMarkosyan/lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,ShreniiNepal/shrenii_lmp,roxolan/canvas-lms,sfu/canvas-lms,whalejasmine/canvas-lms,efrj/canvas-lms,narigone/canvas,grahamb/canvas-lms,redconfetti/canvas-lms,AndranikMarkosyan/lms,Rvor/canvas-lms,dgynn/canvas-lms,utkarshx/canvas-lms,kyroskoh/canvas-lms,narigone/canvas,djbender/canvas-lms,Rvor/canvas-lms,leftplusrightllc/canvas-lms,Rvor/canvas-lms,fronteerio/canvas-lms,sdeleon28/canvas-lms,AndranikMarkosyan/lms,jay3126/canvas-lms,snehakachroo1/LSI_replica,HotChalk/canvas-lms,fronteerio/canvas-lms,snehakachroo1/LSI_replica,va7map/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,narigone/canvas,eCNAP/CANVAS,venturehive/canvas-lms,utkarshx/canvas-lms,instructure/canvas-lms,fronteerio/canvas-lms,juoni/canvas-lms,venturehive/canvas-lms,skmezanul/canvas-lms,redconfetti/canvas-lms,efrj/canvas-lms,venturehive/canvas-lms,SwinburneOnline/canvas-lms,instructure/canvas-lms,tgroshon/canvas-lms,djbender/canvas-lms,utkarshx/canvas-lms,djbender/canvas-lms,matematikk-mooc/canvas-lms,eCNAP/CANVAS,instructure/canvas-lms,roxolan/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,wrdsb/canvas-lms,Jyaasa/canvas-lms,whalejasmine/canvas-lms,djbender/canvas-lms,instructure/canvas-lms,jay3126/canvas-lms,kyroskoh/canvas-lms,snehakachroo1/LSI_replica,instructure/canvas-lms,redconfetti/canvas-lms,eCNAP/CANVAS,shidao-fm/canvas-lms,snehakachroo1/LSI_replica,ShreniiNepal/shrenii_lmp,skmezanul/canvas-lms,kyroskoh/canvas-lms,shidao-fm/canvas-lms,greyhwndz/canvas-lms,jay3126/canvas-lms,SwinburneOnline/canvas-lms,redconfetti/canvas-lms,va7map/canvas-lms,wrdsb/canvas-lms,narigone/canvas,leftplusrightllc/canvas-lms,SwinburneOnline/canvas-lms,wrdsb/canvas-lms,antoniuslin/canvas-lms,tgroshon/canvas-lms,roxolan/canvas-lms,instructure/canvas-lms,tgroshon/canvas-lms,va7map/canvas-lms,skmezanul/canvas-lms,ShreniiNepal/shrenii_lmp,venturehive/canvas-lms,sdeleon28/canvas-lms,Rvor/canvas-lms,SwinburneOnline/canvas-lms,juoni/canvas-lms,tgroshon/canvas-lms,antoniuslin/canvas-lms,roxolan/canvas-lms,grahamb/canvas-lms,efrj/canvas-lms,HotChalk/canvas-lms,efrj/canvas-lms,jay3126/canvas-lms,grahamb/canvas-lms