html and js changes