js changes and style changes made