Corrected js & css broken links in preview

*   the preview in the <domain>/chart/<chart.id>/preview?minify=1 page had broken js & css links. Now the links contain the full domain name and the missing path parts.