Refactor code for render viewer templates
New feature : get goo.gl shorten link for files in document permalink
fix scorm viewer