Is it possible to refresh or re-run javascript through HTML?

Yup. But you need to add it to the code:

Preview:
username
password
https://just4tests8.bubbleapps.io/version-test/html

Editor: