new js fixes