Cleanup and improvement of the markup/element selection
Added some JSDoc
Ability to compute new values without reloading the page