quick js fixes 2