js and html tweak