formatted JS and CSS and added ability for dev to specify which arrows go up or down and a function to format the output

formatted JS and CSS and added ability for dev to specify which arrows go up or down and a function to format the output