js component tweaks