Updating dependencies and js cleanup