updates to format and admin page js