some js upgrades