Allowing JavaScript is mandatory for participating in Mastodon. If you don't want to do that, try an
app
for Mastodon for your platform.