Of course you should only view it over Tor! As for JavaScript, there's a tiny chance the linked web site could be hosting malicious JavaScript, so if you're paranoid, you can enable NoScript, the S icon in the toolbar -> Forbid scripts globally, but be aware that will break functionality on a lot of sites.