js refactoring
changed the result_date field type to date
refactoring and redesign
finished adding comments with js