added rel=canonical creation to viewer.js

This may not be the best spot, but it's wanted
in the same scenarios.