Dynamic window possible?

I was just checking all the "features" I wanted to have (including errors, etc) and I think that trying to modify your macro would most definitely give me a lot of headaches and I would spend hours on it, because of my hyper basic knowledge when it comes to JS, so I decided to create a simpler version that does what I need it to do. It doesn't update the values in real time, but at least I'm no longer dependent on opening an HTML file and I can just hit ENTER to calculate (with the HTML version I would have to actually click the CALCULATE button).

Thank you for trying to help me with this though. I just wish I was more familiar with JS to make the modifications I wanted to make.

BPM & Loop Calculator.kmmacros (22 KB)

Keyboard Maestro Export