coding updates to JS and styling