committing new css styles and refactoring of js