Add sources for javascript files

and replace templates/js/excanvas-r3.min.js by the file found in
excanvas_r3.zip, to ensure that licence conditions are fulfilled. This
closes #37.