moved JS from HTML to separate file… "moving" functionality is waiting
for refactoring