moved JS form HTM to JS file
updated files