minor style and js changes