Started to add Set End node

Added button and minor js changes