js fixes'