wrote js code to generate the approval pane based on firebase data
branch problem commit