few js changes