tweaks to tilde ring js and html