separate JS file
reload button added
update