quick js fixes