When HTML changes, update preview but use most recently run version of JavaScript