few quick js changes